Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix buffer overrun in aligned allocations #8

Merged
merged 4 commits into from
Sep 20, 2023
Merged

Conversation

dweiller
Copy link
Owner

@dweiller dweiller commented Sep 20, 2023

This fixes an issue with allocateSizeClass performing a buffer overrun when setting the slot to undefined when allocating with an alignment greater than the size classes' natural alignment.

This fix allows rptest to run successfully and so adds it to the CI, taking a step towards #5.

@dweiller dweiller enabled auto-merge (rebase) September 20, 2023 10:27
@dweiller dweiller disabled auto-merge September 20, 2023 10:54
@dweiller dweiller enabled auto-merge (rebase) September 20, 2023 10:54
@dweiller dweiller force-pushed the alloc-buffer-overrun branch from 99aab65 to 1b5b2a5 Compare September 20, 2023 10:54
@dweiller dweiller disabled auto-merge September 20, 2023 10:54
@dweiller dweiller enabled auto-merge (rebase) September 20, 2023 10:54
@dweiller dweiller merged commit 8e4c5ae into main Sep 20, 2023
@dweiller dweiller deleted the alloc-buffer-overrun branch September 20, 2023 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant